﻿using System;
using System.Collections.Generic;
using System.Data.Objects;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dts = MedicalAdviser.Portable.DataTypes;

namespace MedicalAdviser.DAL.AbstrationPatterns
{
    public interface IRepository<TEntityDomain> : IDisposable where TEntityDomain : dts.DomainObjects.IDomainObject
    {

        ObjectContext Context { get; set; }
        void Add(TEntityDomain item);
        void Remove(TEntityDomain item);

    }

}
